import Vue from 'vue'
import Router from 'vue-router'

import GoApi from './view/GoApi'
import Home from './view/HomeView'

Vue.use(Router)
const allRoute = [
    {path: '/', component: Home},
    {path: '/goapi', component: GoApi},
]
const router = new Router({
    routes:allRoute
})

export default router